User-land tool for memory paging.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Dec 2009 06:27:55 +0000 (06:27 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Dec 2009 06:27:55 +0000 (06:27 +0000)
commit287d07f6a7b84d9caf6e734f987a02ef5de7561c
tree9621123f10a616f72073e5706d1e4fffa17d1889
parentc0c8c01d6776b3cb2c42a6a3c82e484992dc9265
User-land tool for memory paging.

This tool will page out the specified number of pages from the specified
domain. When a paged out page is accessed, Xen will issue a request and
notify the tool over an event channel. The tool will process ther request,
page the page in, and notify Xen.

The current (default) policy tracks the 1024 most recently paged in pages
and will not choose to evict any of those. This is done with the assumption
that if a page is accessed, it is likely to be accessed again soon.

Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
14 files changed:
.hgignore
tools/Makefile
tools/xenpaging/Makefile [new file with mode: 0644]
tools/xenpaging/bitops.h [new file with mode: 0644]
tools/xenpaging/file_ops.c [new file with mode: 0644]
tools/xenpaging/file_ops.h [new file with mode: 0644]
tools/xenpaging/mem_event.h [new file with mode: 0644]
tools/xenpaging/policy.h [new file with mode: 0644]
tools/xenpaging/policy_default.c [new file with mode: 0644]
tools/xenpaging/spinlock.h [new file with mode: 0644]
tools/xenpaging/xc.c [new file with mode: 0644]
tools/xenpaging/xc.h [new file with mode: 0644]
tools/xenpaging/xenpaging.c [new file with mode: 0644]
tools/xenpaging/xenpaging.h [new file with mode: 0644]